package com.itheima.stock.pojo.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class StockRtScreenDomain {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
     private Date date;//当前时间，精确到分
     private BigDecimal tradeAmt;//交易量
     private BigDecimal tradeVol;//交易金额
     private BigDecimal tradePrice;//交易价格
}
